package com.linxiao.call.mapper;

import com.linxiao.call.domain.CrmWebcallCdr;

import java.util.List;

/**
 * webCall语音通知Mapper接口
 * 
 * @author qiqi
 * @date 2022-06-10
 */
public interface CrmWebcallCdrMapper 
{
    /**
     * 查询webCall语音通知
     * 
     * @param id webCall语音通知主键
     * @return webCall语音通知
     */
    public CrmWebcallCdr selectCrmWebcallCdrById(Long id);

    /**
     * 查询webCall语音通知列表
     * 
     * @param crmWebcallCdr webCall语音通知
     * @return webCall语音通知集合
     */
    public List<CrmWebcallCdr> selectCrmWebcallCdrList(CrmWebcallCdr crmWebcallCdr);

    /**
     * 新增webCall语音通知
     * 
     * @param crmWebcallCdr webCall语音通知
     * @return 结果
     */
    public int insertCrmWebcallCdr(CrmWebcallCdr crmWebcallCdr);

    /**
     * 修改webCall语音通知
     * 
     * @param crmWebcallCdr webCall语音通知
     * @return 结果
     */
    public int updateCrmWebcallCdr(CrmWebcallCdr crmWebcallCdr);

    /**
     * 删除webCall语音通知
     * 
     * @param id webCall语音通知主键
     * @return 结果
     */
    public int deleteCrmWebcallCdrById(Long id);

    /**
     * 批量删除webCall语音通知
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCrmWebcallCdrByIds(Long[] ids);
}
